﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Owners/Owners.Master" AutoEventWireup="true" CodeBehind="ConfirmReservation.aspx.cs" Inherits="Pep_3014_3070.Owners.ConfirmReservation" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
      <div id="wrapper">
        <div class="main-contents"  style="margin-top: 150px !important;">
            <div class="container">
                <div class="row">
                        <%--Trebalo bi dodati mogucnost pregleda profila KLIJENTA--%>
                        <asp:Repeater ID="RezervacijeRepeater" runat="server" OnItemCommand="RezervacijeRepeater_ItemCommand">
                        <ItemTemplate>
                    <div class="col-md-8 col-sm-8">
                        <section id="order-confirmation">
                                <div class="booking gray clearfix marb30 box-shadow1">
                                    <div class="selected-deal">
                                        <h2 class="marb20">Rezervirano : <%# Eval("Title") %></h2>
                                        <div class="ft-item">
                                            <span class="ft-image img-wt-border">
                                                <img src='<%# Eval("ProfilePictures") %>' alt="featured Scroller" style="height: 150px !important;" />
                                            </span>
                                            <div class="ft-data">
                                                <asp:Label ID="Label1" runat="server" Text='<%# Eval("CityName") %>'></asp:Label>
                                            </div>
                                            <div class="ft-foot">
                                                <h4 class="ft-title text-upper">
                                                    <asp:Label ID="Label12" runat="server" Text='<%# Eval("Title") %>'></asp:Label>
                                                </h4>
                                                <span class="ft-offer text-upper"><%# string.Format("{0:C}" ,  Eval("Price")) %> $</span>
                                            </div>
                                            <div class="ft-foot-ex">
                                                <span class="ft-date text-upper alignleft"><%# string.Format("{0:m}", Eval("ReservationDate")) %></span>
                                                <span class="ft-temp alignright">17&#730;c</span>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="booking-status">
                                        <h2 class="marb20">Details</h2>
                                        <div class="input-field  schedule">
                                            <label>CheckIn :</label><asp:Label ID="lblCheckIn" runat="server" Text='<%# string.Format("{0:m}",Eval("CheckIn")) %>'></asp:Label>
                                        </div>
                                        <div class="input-field schedule">
                                            <label>CheckOut :</label><asp:Label ID="lblCheckOut" runat="server" Text='<%# string.Format("{0:m}",Eval("CheckOut")) %>'></asp:Label>
                                        </div>
                                        <div class="input-field schedule">
                                            <label>Guest :</label>
                                            <asp:Label ID="lblNumberguest" runat="server" Text='<%# Eval("NumberGuest") %>'></asp:Label>
                                        </div>
                                        <div class="input-field schedule">
                                            <label>Nights :</label>
                                            <asp:Label ID="Label2" runat="server" Text='<%# string.Format("{0:d}",Eval("Nights")) %>'></asp:Label>
                                        </div>
                                        <div class="input-field schedule">
                                            <label>Total :</label>
                                       <label style="color:red"> <%# string.Format("{0:C}" ,  Eval("Price")) %> $</label>
                                        </div>
                                        <asp:LinkButton ID="PotvrdiBtn" runat="server" CssClass="btn btn-primary text-upper" CommandName="PotvrdiBtn" CommandArgument='<%# Eval("ReservationID") %>'>Potvrdi</asp:LinkButton>
                                        <asp:LinkButton ID="OtkaziBtn" runat="server" CssClass="btn btn-danger text-upper" CommandName="OtkaziBtn" CommandArgument='<%# Eval("ReservationID") %>' >Otkazi</asp:LinkButton>

                                    </div>
                                </div>
                            </section>

                            </div>
                            </ItemTemplate>
                    </asp:Repeater>
                        <!-- END #contactForm -->
                    </div>
            </div>
        </div>


    </div>



</asp:Content>
